052f3825c5095bc6e8625d1bd86d35085b6888f4,src/java/org/orbeon/oxf/processor/pdf/PDFTemplateProcessor.java,PDFTemplateProcessor,handleGroup,#PipelineContext#GroupContext#List#FunctionLibrary#PdfReader#,247

Before Change



                // TODO: Lots of other parameters can be used to configure the image here
                // Add image
                groupContext.contentByte.addImage(image);
            } else {
                // NOP
            }

After Change


                        image.setAbsolutePosition(positions[1] + (rectangle.getWidth() - image.getScaledWidth()) / 2, yPosition);

                        // Add image
                        groupContext.contentByte.addImage(image);
                    }

                } else {